/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright @ Huawei Technologies Co., Ltd. 2022-2023. ALL rights reversed.
 */

#ifndef EULEROS_FAST_CORE_DOWN_H
#define EULEROS_FAST_CORE_DOWN_H

#ifdef CONFIG_EULEROS_FAST_CORE_DOWN
enum fast_core_done_order {
	CORE_DOWN_BOTTOM_UP,
	CORE_DOWN_TOP_DOWN,
};
extern int cpu_down_mask(cpumask_t *cpus, int order);

#endif /* CONFIG_EULEROS_FAST_CORE_DOWN */
#endif /* EULEROS_FAST_CORE_DOWN_H */
